package demo.game.chess.common;

public class MoveException extends Exception {

	private final ChessMove invalidMove;

	public MoveException(final ChessMove invalidMove, final String string) {
		super(string);
		this.invalidMove = invalidMove;
	}

	public ChessMove getInvalidMove() {
		return this.invalidMove;
	}

}
